<extend name="Base/common"/>
<block name="style">		
		<link rel="stylesheet" type="text/css" href="/Application/Home/Common/css/suercenter.css" />
		</block>
	
		<!--头部end-->
		<block name="main">
		<div class="w1000 ClearFix margin_top20">
			<!--左侧end-->
			<include file="Public/userside"/>
			
			<!--左侧end-->
			<div class="ur_right">
				<!--uer_top-->
				<div class="ur_location">
					<a href="">我的快乐购</a>
					<span>&gt;</span>
					<a class="a_cur">我的订单</a>
				</div>
				<!--uer_top-->
				<div class="ur_r_list">
					<div class="ur_list_tab">
						<ul class="ur_tab_ul">
							<li class="on ">
								<a href="{:U('User/usercenter')}">全部订单</a>
							</li>
							<li>
								<a href="{:U('User/other',array('status'=>1))}">待付款</a>
							</li>
							<li>
								<a href="{:U('User/other',array('status'=>2))}">待发货</a>
							</li>
							<li>
								<a href="{:U('User/other',array('status'=>0))}">以取消</a>
							</li>
						</ul>
						<div class="more_rk">
							<a href="" class="more_order">查看历史订单</a>
							<a href="" class="more_qqg_order">查看全球购订单&gt;&gt;</a>
						</div>
					</div>
					<table class="order_table">
						<thead class="thead">
							<tr>
								<td class="padding_40">
									<div class="select_div">
										<div class="select_h2">
											<span>近三月的订单</span>
											<b></b>
										</div>
										<div class="select_list">
											<ul>
												<li data-name="近三月的订单" class="cur">
													<a href=""><b></b>近三月的订单</a>
												</li>
												<li data-name="近半年的订单" class="">
													<a href=""><b></b>半年的订单</a>
												</li>
												<li data-name="最近一年的订单" class="">
													<a href=""><b></b>最近一年的订单</a>
												</li>
											</ul>
										</div>
									</div>
								</td>
								<td>订单金额</td>
								<td>交易状态</td>
								<td>交易操作</td>
							</tr>
						</thead>
						<volist name="lists" id="vo">
						<tbody>
							<!--单号 时间-->
							
							<tr class="tr_top">
								<td colspan="6">
									<span class="number">订单号：<a target="_blank" href="">{$vo.hao|default="无"}</a></span>
									<span class="dealtime" title="下单时间">下单时间：
									{$vo.ctime|time_format}</span>
								</td>
							</tr>
							<!--单号 时间-->
							<!--订单商品-->
							<tr class="tr_bd">
								<td class="goods-item">
									<div class="p-img">
										<a href="" target="_blank">
											<img class="" src="/Uploads/{$vo['good']['pic']}" title="" height="60" width="60">
										</a>
									</div>
									<div class="p-msg">
										<div class="p-name">
											<a href="" class="a-link" target="_blank" title="">{$vo['good']['name']}</a>
										</div>
									</div>
								</td>
								<td>
									<div class="goods_price">{$vo.mprice}</div>
								</td>
								<td>
									<div class="goods-number">x{$vo.num}</div>
								</td>
								<td rowspan="1">
									<div class="amount"><span><php>echo $vo['mprice']*$vo['num'];</php></span><br>（免运费）<br>在线支付</div>
								</td>
								<td rowspan="1">
									<div class="status">
										<span class="order-status"><span style="color:#999">
										  <if condition="$vo.status eq 1">
                                          待付款
                                          <elseif condition="$vo.status eq 2"/>
                                          待发货
                                          <else />
                                          以取消
                                          </if>
										</span><br>
										<a href="" target="_blank">订单详情</a>
									</div>
								</td>
								<td rowspan="1">
									<div class="operate">
										<p><a href="javascript:void(0);" class="btn-del"><i class="icon-trash"></i>删除</a></p>
									</div>
								</td>
							</tr>
							
							<!--订单商品-->
						</tbody>
						</volist>
					</table>
				</div>
				<!--page-->
				<!--分页-->
				<div class="ys">
					{$page}
				</div>
				<!--分页end-->
				<!--pageend-->
			</div>
		</div>
	    <!--底部公用-->
</block>
<block name="sidebar"></block>